package com.huitu.whht.base.core.api.wr.csb.entities;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.huitu.whht.api.core.common.base.BaseEntity;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;

/**
 * 说明: 控制断面基本信息表实体类,表名称: WR_CSB_B <br/>
 * 日期: 2019-04-15
 * @author LiuCW
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WrCsbB extends  BaseEntity {

private static final long serialVersionUID = 4L;
    public WrCsbB(){

    }

    /**
      * 河道断面代码
      */
    public String rbCd;
    /**
      * 设置日期
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime stDt;
    /**
      * 监测内容
      */
    public String monCont;
    /**
      * 控制最低水位
      */
    public Double contMinZ;
    /**
      * 控制最小流量
      */
    public Double contMinQ;
    /**
      * 控制水质要求
      */
    public String contQunt;
    /**
      * 时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime ts;
    /**
      * 备注
      */
    public String nt;
    /**
      * 断面代表长度
      */
    public Double rbDebLen;
}